<?php
$this->breadcrumbs=array(
	'Images' =>array('index'),
	'Manage',
);

?>

<div id="shopcontent">

<h1> 
<?php 
echo 'Images for'; 
echo '&nbsp;' . $product->name; 
?>
</h1>

<?php
if($images)
	foreach($images as $image) {
		echo "<label> {$image->title} </label><br />";
		$this->renderPartial('view', array('model' => $image));
	}


echo '<br />';

echo CHtml::link('Cancel', array('/admin/product/admin')) . '<br />';
echo CHtml::link('Upload new Image', array('create', 'product_id' => $product->id));


?>
</div>
